Skip to content

Conversation

@YaroShkvorets
Copy link
Collaborator

Fixes #1679

  • Added "_id" to the remap dictionary.
  • Simplified the remap logic since adding subgraph name to the field doesn't make much sense. Replacing id with internal_id is more logical and explicit
  • Added id field to tests

@changeset-bot
Copy link

changeset-bot bot commented Dec 10, 2024

🦋 Changeset detected

Latest commit: 5583052

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphprotocol/graph-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@YaroShkvorets YaroShkvorets requested a review from 0237h December 10, 2024 23:41
@0237h 0237h merged commit c301481 into graphprotocol:main Dec 11, 2024
9 checks passed
@YaroShkvorets YaroShkvorets deleted the yaro/fix-id-clash branch December 11, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] camelCase to snake-case conversion issue during graph init

2 participants